home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / java / util / Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  1.4 KB  |  40 lines

  1. package java.util;
  2.  
  3. class Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry<K, V> implements Map.Entry<K, V> {
  4.    // $FF: renamed from: e java.util.Map.Entry
  5.    private Map.Entry<? extends K, ? extends V> field_0;
  6.  
  7.    Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry(Map.Entry<? extends K, ? extends V> var1) {
  8.       this.field_0 = var1;
  9.    }
  10.  
  11.    public K getKey() {
  12.       return (K)this.field_0.getKey();
  13.    }
  14.  
  15.    public V getValue() {
  16.       return (V)this.field_0.getValue();
  17.    }
  18.  
  19.    public V setValue(V var1) {
  20.       throw new UnsupportedOperationException();
  21.    }
  22.  
  23.    public int hashCode() {
  24.       return this.field_0.hashCode();
  25.    }
  26.  
  27.    public boolean equals(Object var1) {
  28.       if (!(var1 instanceof Map.Entry)) {
  29.          return false;
  30.       } else {
  31.          Map.Entry var2 = (Map.Entry)var1;
  32.          return Collections.access$000(this.field_0.getKey(), var2.getKey()) && Collections.access$000(this.field_0.getValue(), var2.getValue());
  33.       }
  34.    }
  35.  
  36.    public String toString() {
  37.       return this.field_0.toString();
  38.    }
  39. }
  40.